package com.heer.api.sign;

public class MD5SignUtil {
	public static String Sign(String content, String secret)
			throws SDKRuntimeException {
		String signStr = "";

		if ("" == secret) {
			throw new SDKRuntimeException("key不能为空！");
		}
		if ("" == content) {
			throw new SDKRuntimeException("签名内容不能为空");
		}
		signStr = content + secret;

		return MD5Util.MD5(signStr).toLowerCase();

	}
}
